<%@ include file="/page/share/taglib.jsp" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">
    <link type="text/css" href="css/base.css" rel="stylesheet"/>
    <script type="text/javascript" src="../js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>
    <title>考生信息</title>
    <script type="text/javascript" src="<%=basePath%>/js/jquery.js"></script>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <style type="text/css">
        table tr td {
            height: 45px;
        }

        table tr td a {
            text-decoration: none;
        }

        table tr td a:hover {

        }
        .btn_addPic{
            display: block;
            position: relative;
            width: 140px;
            height: 39px;
            overflow: hidden;
            border: 1px solid #EBEBEB;
            background: none repeat scroll 0 0 #F3F3F3;
            color: #999999;
            cursor: pointer;
            text-align: center;
        }
        .btn_addPic span{display: block;line-height: 39px;}
        .btn_addPic em {
            background:url(<%=basePath%>/img/btn_addPic.png) 0 0;
            display: inline-block;
            width: 18px;
            height: 18px;
            overflow: hidden;
            margin: 10px 5px 10px 0;
            line-height: 20em;
            vertical-align: middle;
        }
        .btn_addPic:hover em{background-position:-19px 0;}
        .filePrew {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 140px;
            height: 39px;
            font-size: 100px; /* 增大不同浏览器的可点击区域 */
            opacity: 0; /* 实现的关键点 */
            filter:alpha(opacity=0);/* 兼容IE */
        }
    </style>
</head>
<body>
<%@ include file="/page/share/menu.jsp" %>

<div id="content">
    <table style="margin: 0 auto;">

        <tr>
            <td style="padding: 10px 0px 0px 0px;">
                <form action="File!recoverExcelByExaminer.action" method="post" enctype="multipart/form-data" style="font-family: '微软雅黑';">
                    文件名： <div>
                    <a class="btn_addPic" href="javascript:void(0);"><span><em>+</em>添加文件</span>
                        <input class="filePrew" title="" tabindex="3" name="file" size="3"
                               onchange="$('#txt').html(this.value)"
                               type="file"></a>
                    <div id="txt"></div>
                </div>
                    <input type="hidden" name="owner" value="${person.accout}"/>
                    <p style="font-size: 12px;color: red;padding: 5px 0px 10px 0px;font-family: '微软雅黑';">可多次导入，覆盖考生信息，考试时间依最新导入为准</p>
                    <input type="submit" value="导入考生信息 " onMouseOver="this.style.background='#2569c1'" onmouseout="this.style.background='#114a93'"
                           style="width:260px;height:30px;cursor:pointer;border: none;background: #2569c1;color: white;font-size: 16px;" />

                </form>
            </td>
        </tr>
        <tr>
            <td>
                <form action="/page/team/addStuToTeam.jsp" method="post">
                    <input type="submit" value="添加考生" onMouseOver="this.style.background='#2569c1'" onmouseout="this.style.background='#114a93'" style="width:260px;height:30px;cursor:pointer;border: none;background: #2569c1;color: white;font-size: 16px;" />
                </form>
            </td>
        </tr>
        <s:if test="#session.person.groups.groupName == '管理员'">
            <tr>
                <td>
                    <form action="File!createExcelByExaminer.action" method="post">
                        <input type="submit" value="生成考生信息 备份记录" onMouseOver="this.style.background='#2569c1'" onmouseout="this.style.background='#114a93'" style="width:260px;height:30px;cursor:pointer;border: none;background: #2569c1;color: white;font-size: 16px;" />
                    </form>
                </td>
            </tr>
        </s:if>
    </table>
</div>
<div id="footer">
    <p style="text-align: center;color: #757575;padding: 20px 0px 0px 0px; font:12px;">Copyright © 2010-2013 蓝天白云团队
        版权所有</p>
</div>

</body>
</html>
